Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ndla/core

Package Overview
Dependencies
Maintainers
8
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ndla/core

UI component library for NDLA.

  • 4.5.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
293
decreased by-52.51%
Maintainers
8
Weekly downloads
 
Created
Source

ndla-core

ndla-core contains common styling for all NDLA components. It includes all global variables for stuff like typography, colors, etc

Installation

yarn add --save @ndla/core
npm i --save @ndla/core

Usage

/* Your project's main .scss import file */
@import "~ndla-core/scss/core"; // with webpack and sass-loader
@import "../path/to/node_modules/ndla-core/scss/core"; // direct reference

Utilities are located in a seperate file and should be imported last (after component styling)

@import "~@ndla/core/scss/core";
@import "my-awesome-component";
@import "~@ndla/core/scss/utilities";

Keywords

FAQs

Package last updated on 23 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc